             package com.java.diagnostics.visualizer.display;
             
             import com.java.diagnostics.visualizer.data.axes.DataAxis;
             import org.eclipse.jface.viewers.ISelection;
             
             public class AxisSelection
               implements ISelection
             {
               private DataAxis axis;
               
               public AxisSelection(DataAxis axis)
               {
                 this.axis = axis;
               }
               
               public DataAxis getAxis() {
                 return this.axis;
               }
               
               public boolean isEmpty() {
                 return this.axis == null;
               }
               
               public String toString() {
                 return this.axis.toString();
               }
             }


